@extends('admin.layout')

@section('content')
<div class="content-wrapper" style="min-height: 916px;">
        <!-- Content Header (Page header) -->
   <div id="breadcrumbs" class="breadcrumbs">
    <ol class="breadcrumb">
    <li><a href="javascript:void();"><i class="fa fa-home"></i>&nbsp;&nbsp;后台首页</a></li>
            
            <li><a href="javascript:void();">文章管理</a></li>  
            <li><a href="javascript:void();">编辑分类</a></li>  
            <li><a href="javascript:void();"></a></li>          
    </ol>
</div>

<div class="box">
                        <div class="box-header">
                            <h3 class="box-title">增加分类</h3>
                        </div>
                        <!-- /.box-header -->
                        <form class="form-horizontal" method="post" action="/index.php/Admin/Article/categoryHandle">
                        <div class="box-body">                         
                                <div class="form-group">
                                    <label class="control-label col-sm-2">分类名称</label>

                                    <div class="col-sm-10">
                                        <input type="text" value="" name="cat_name" class="form-control large" placeholder="名称">
                                        <span class="help-inline">这将是它在站点上显示的名字。</span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label col-sm-2">英文名称</label>

                                    <div class="col-sm-10">
                                        <input type="text" value="" name="cat_alias" class="form-control large" placeholder="别名">
                                        <span class="help-inline">一般为分类名称英文缩写。</span>
                                    </div>
                                </div>


                                <div class="form-group">
                                    <label class="control-label col-sm-2">上级分类</label>

                                    <div class="col-sm-10">
                                        <select name="parent_id" tabindex="1" class="small form-control">
                                            <option value="0">顶级分类</option>
                                            <option value="21">TPshop-API接口手册</option><option value="28">&nbsp;&nbsp;&nbsp;&nbsp;签名方式</option><option value="23">&nbsp;&nbsp;&nbsp;&nbsp;商品相关接口</option><option value="22">&nbsp;&nbsp;&nbsp;&nbsp;公共接口</option><option value="27">&nbsp;&nbsp;&nbsp;&nbsp;支付相关接口</option><option value="26">&nbsp;&nbsp;&nbsp;&nbsp;用户中心相关接口</option><option value="25">&nbsp;&nbsp;&nbsp;&nbsp;订单流程相关接口</option><option value="24">&nbsp;&nbsp;&nbsp;&nbsp;购物车相关接口</option><option value="40">产品相关</option><option value="39">TPshop相关</option><option value="3">关于商城</option><option value="50">云服务</option><option value="49">推荐管理</option><option value="48">广告管理</option><option value="29">TPshop论坛APP</option><option value="52">&nbsp;&nbsp;&nbsp;&nbsp;外包合作</option><option value="35">&nbsp;&nbsp;&nbsp;&nbsp;程序员相亲</option><option value="34">&nbsp;&nbsp;&nbsp;&nbsp;补丁发布</option><option value="33">&nbsp;&nbsp;&nbsp;&nbsp;问题交流</option><option value="32">&nbsp;&nbsp;&nbsp;&nbsp;bug反馈</option><option value="31">&nbsp;&nbsp;&nbsp;&nbsp;安装使用</option><option value="30">&nbsp;&nbsp;&nbsp;&nbsp;插件/模板</option><option value="53">&nbsp;&nbsp;&nbsp;&nbsp;官方公告</option><option value="47">移动端支持</option><option value="46">订单管理</option><option value="45">促销管理</option><option value="44">文章管理</option><option value="43">商品管理</option><option value="8">bbb</option><option value="42">其他</option><option value="7">售后服务</option><option value="41">关于</option><option value="1">帮助中心</option><option value="2">技术支持</option><option value="5">公告</option><option value="6">新闻</option><option value="4">关注我们</option><option value="20">TPshop使用手册</option><option value="51">&nbsp;&nbsp;&nbsp;&nbsp;广告管理</option><option value="13">&nbsp;&nbsp;&nbsp;&nbsp;商品管理</option><option value="54">&nbsp;&nbsp;&nbsp;&nbsp;系统介绍</option><option value="18">TPshop-Android开发手册</option><option value="19">TPshop-IOS开发手册</option><option value="12">&nbsp;&nbsp;&nbsp;&nbsp;IOS公共函数</option><option value="17">TPshop-php开发手册</option><option value="11">&nbsp;&nbsp;&nbsp;&nbsp;开发教程</option><option value="10">&nbsp;&nbsp;&nbsp;&nbsp;基础</option><option value="9">TPshop公共手册</option><option value="16">&nbsp;&nbsp;&nbsp;&nbsp;视频教程</option><option value="15">&nbsp;&nbsp;&nbsp;&nbsp;技术支持</option><option value="14">&nbsp;&nbsp;&nbsp;&nbsp;常见问题</option>                                 
                    </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label col-sm-2">导航显示</label>
                  
                                    <div class="col-sm-10">
                                    <label> <input type="radio" value="1" name="show_in_nav"> 是</label>
                                    <label> <input type="radio" value="0" checked="" name="show_in_nav"> 否</label>
                                    </div>
                                </div>
                               <div class="form-group">
                                    <label class="control-label col-sm-2">显示排序</label>

                                    <div class="col-sm-10">
                                        <input type="text" value="" name="sort_order" class="form-control large" placeholder="50">
                                        <span class="help-inline"></span>
                                    </div>
                                </div>
                               <div class="form-group">
                                    <label class="control-label col-sm-2">搜索关键字</label>

                                    <div class="col-sm-10">
                                        <input type="text" value="" name="keywords" class="form-control large" placeholder="关键字">
                                        <span class="help-inline"></span>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="control-label col-sm-2">搜索描述</label>

                                    <div class="col-sm-10">
                                        <input type="text" value="" name="cat_desc" class="form-control large" placeholder="描述">
                                        <span class="help-inline"></span>
                                    </div>
                                </div>
                        </div>
                        <div class="box-footer">
                          <input type="hidden" value="add" name="act">
                          <input type="hidden" value="" name="cat_id">
                          <button class="btn btn-primary pull-left" type="reset"><i class="icon-ok"></i>重填  </button>                                          
                            <button class="btn btn-primary pull-right" type="submit"><i class="icon-ok"></i>提交  </button>
                        </div>
                        <input type="hidden" value="7f26b28cd7cbb76a8408e06c8859c214_87b7c4ff4c8fe64042496a35e1ade69e" name="__hash__"></form>
                    </div>
                    </div>

@endsection